/**
 * @Project: LizhiFM
 * @Author: squll
 * @Date: 2013-10-8
 * @Copyright: (c) 2013 广州市一把伞网络科技有限公司 All rights reserved.
 */

package com.hubujun.driverlicense.db;

import android.content.ContentValues;
import android.database.Cursor;

public interface ContentProviderDB {

	public int update(String table, ContentValues values, String where, String[] selectionArgs);

	public int delete(String table, String where, String[] selectionArgs);

	public long insert(String table, String nullColumnHack, ContentValues values);

	public Cursor rawQuery(String sql, String[] selectionArgs);

	public Cursor query(String table, String[] projection, String selection, String[] selectionArgs, String sortOrder);

	public Cursor query(String table, String[] projection, String selection, String[] selectionArgs, String sortOrder, String limit);

	public Cursor query(String table, String[] projection, String selection, String[] selectionArgs, String groupBy, String sortOrder, String limit);

	public long replace(String table, String nullColumnHack, ContentValues initialValues);

	public boolean execSQL(String sql);
}
